/* ============================================================
   RAÇÃO DE CANTO — Rifa Solidária · Fiel & Pétala
   Folha de estilos exclusiva da página index.html (rifa)
   ============================================================ */

/* ═══════════════════════════════════════════════════════════════
   1. VARIÁVEIS GLOBAIS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Cores principais */
  --terracota: #c85a2e;
  --terracota-escuro: #9e3f1a;
  --terracota-claro: #e07245;
  --ambar: #e8a23a;
  --ambar-claro: #f5c564;

  /* Tons de fundo */
  --creme: #fdf6ec;
  --creme-escuro: #f5e9d4;
  --creme-medio: #f0dfc0;
  --branco: #ffffff;

  /* Cores de texto */
  --txt-escuro: #2c1a0e;
  --txt-medio: #5a3a20;
  --txt-muted: #b08060;

  /* Estado / Feedback */
  --verde-adotado: #2d6a4f;
  --verde-claro: #52b788;
  --erro: #c0392b;

  /* Tipografia */
  --fonte-display: "Fraunces", Georgia, serif;
  --fonte-corpo: "Nunito", system-ui, sans-serif;

  /* Espaçamentos */
  --s-lg: 3.5rem;
  --s-xl: 6rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(44, 26, 14, 0.08);
  --shadow-md: 0 8px 30px rgba(44, 26, 14, 0.13);
  --shadow-lg: 0 20px 60px rgba(44, 26, 14, 0.18);
  --shadow-warm: 0 8px 32px rgba(200, 90, 46, 0.2);

  /* Transições */
  --t-fast: 0.2s ease;
  --t-med: 0.35s ease;
}

/* ═══════════════════════════════════════════════════════════════
   2. RESET & BASE
═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fonte-corpo);
  font-weight: 400;
  color: var(--txt-escuro);
  background: var(--branco);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
address {
  font-style: normal;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* Foco visível (acessibilidade) */
:focus-visible {
  outline: 3px solid var(--ambar);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ═══════════════════════════════════════════════════════════════
   3. UTILITÁRIOS GERAIS
═══════════════════════════════════════════════════════════════ */

/* Container centralizado */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Seção com padding padrão */
.section {
  padding-block: var(--s-xl);
}

/* Variante de fundo quente/creme */
.section--warm {
  background-color: var(--creme);
}

/* Cabeçalho centralizado de seção */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s-lg);
}

/* Etiqueta/label de seção (pílula) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a36034;
  background: rgba(200, 90, 46, 0.1);
  border: 1px solid rgba(200, 90, 46, 0.25);
  padding: 0.4em 2em;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

/* Modificador mobile do label (adiciona espaço acima) */
.section-label.mobile {
  margin-top: 3rem;
}

/* Título principal de seção */
.section-title {
  font-family: var(--fonte-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--txt-escuro);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: #a36034;
}

/* Subtítulo descritivo de seção */
.section-subtitle {
  font-size: 1rem;
  color: var(--txt-medio);
  line-height: 1.7;
  max-width: 520px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════
   4. BOTÕES
═══════════════════════════════════════════════════════════════ */

/* Base comum de todos os botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8em 1.8em;
  font-family: var(--fonte-corpo);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* Botão primário (terracota) */
.btn--primary {
  background: #a36034;
  color: var(--branco);
  border-color: #a36034;
  box-shadow: var(--shadow-warm);
}
.btn--primary:hover {
  background: var(--terracota-escuro);
  border-color: var(--terracota-escuro);
  box-shadow: 0 12px 40px rgba(200, 90, 46, 0.3);
}

/* Botão contornado/outline */
.btn--outline {
  background: transparent;
  color: var(--txt-escuro);
  border-color: var(--creme-medio);
}
.btn--outline:hover {
  background: var(--creme-escuro);
  border-color: var(--terracota-claro);
  color: var(--terracota-claro);
}

/* Modificador de tamanho pequeno */
.btn--small {
  font-size: 0.85rem;
  padding: 0.55em 1.3em;
}

/* ═══════════════════════════════════════════════════════════════
   5. HEADER / NAVEGAÇÃO
═══════════════════════════════════════════════════════════════ */

/* Header fixo no topo com glassmorphism */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--creme-escuro);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    background var(--t-med);
}

/* Esconde o header ao rolar para baixo */
.header--hidden {
  transform: translateY(-100%);
}

/* Sombra mais forte ao rolar */
.header--scrolled {
  box-shadow: var(--shadow-md);
}

/* Linha interna do header */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-paw {
  font-size: 1.6rem;
  line-height: 1;
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(200, 90, 46, 0.3));
  transition: transform var(--t-fast);
}
.logo:hover .logo-paw {
  transform: rotate(-10deg) scale(1.1);
}

.logo-text {
  font-family: var(--fonte-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--txt-escuro);
  display: flex;
  flex-direction: column;
}
.logo-text em {
  font-style: italic;
  font-weight: 300;
  color: #a36034;
}

/* ── Links de navegação ── */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--txt-medio);
  padding: 0.45em 0.85em;
  border-radius: var(--r-pill);
  transition:
    color var(--t-fast),
    background var(--t-fast);
}
.nav-link:hover {
  color: var(--terracota);
  background: rgba(200, 90, 46, 0.07);
}
.nav-link--active {
  color: var(--terracota) !important;
  font-weight: 600;
}

/* Link de destaque (CTA) na nav */
.nav-link--cta {
  background: #a36034;
  color: var(--branco) !important;
  font-weight: 600;
  margin-left: 0.5rem;
  padding: 0.5em 1.2em;
  box-shadow: var(--shadow-warm);
}
.nav-link--cta:hover {
  background: var(--terracota-escuro);
}

/* ── Botão hamburger (mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1.5px solid var(--creme-medio);
  border-radius: var(--r-sm);
  padding: 6px;
  transition: border-color var(--t-fast);
}
.nav-toggle:hover {
  border-color: var(--terracota-claro);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--txt-escuro);
  border-radius: 2px;
  transition:
    transform var(--t-med),
    opacity var(--t-med);
}

/* Animação do hamburger para X */
.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   6. HERO DA RIFA
═══════════════════════════════════════════════════════════════ */

/* Seção hero com fundo gradiente creme */
.rifa-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--creme) 0%,
    var(--creme-escuro) 55%,
    var(--creme-medio) 100%
  );
  padding-top: 0;
  padding-bottom: 0;
}

/* Camada de blobs decorativos (atrás do conteúdo) */
.rifa-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Blobs de luz borrados */
.rh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.42;
}
.rh-blob--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--ambar-claro), transparent);
  top: -130px;
  right: -110px;
}
.rh-blob--2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(200, 90, 46, 0.32), transparent);
  bottom: -80px;
  left: -80px;
}
.rh-blob--3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--ambar), transparent);
  top: 50%;
  left: 45%;
  opacity: 0.18;
}

/* Patas decorativas (watermark) */
.rh-pata {
  position: absolute;
  font-size: 8rem;
  opacity: 0.05;
  pointer-events: none;
  line-height: 1;
}
.rh-pata--1 {
  top: 10%;
  right: 2%;
  transform: rotate(20deg);
}
.rh-pata--2 {
  bottom: 5%;
  left: 1%;
  transform: rotate(-15deg);
  font-size: 5rem;
}

/* Grid de duas colunas: texto | imagens */
.rifa-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-block: var(--s-xl);
}

/* ── Texto do hero ── */

/* Eyebrow com ponto pulsante */
.rifa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a36034;
  margin-bottom: 1.1rem;
}

/* Ponto animado ao lado do eyebrow */
.rifa-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ambar);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* Título principal "Fiel & Pétala" */
.rifa-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--txt-escuro);
  line-height: 0.95;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.rifa-titulo em {
  font-style: normal;
  color: #a36034;
  font-weight: 300;
}

/* Parágrafo descritivo */
.rifa-desc {
  font-size: 1.05rem;
  color: var(--txt-medio);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2rem;
}
.rifa-desc strong {
  color: #a36034;
  font-weight: 700;
}

/* Barra de estatísticas (números, prêmios, preço) */
.rifa-stats-bar {
  display: flex;
  align-items: center;
  background: var(--txt-escuro);
  border-radius: var(--r-xl);
  padding: 1.1rem 1.6rem;
  margin-bottom: 2.25rem;
  width: fit-content;
  gap: 0;
}

.rifa-stat {
  text-align: center;
  padding-inline: 1.3rem;
}

.rs-num {
  display: block;
  font-family: var(--fonte-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ambar-claro);
  line-height: 1;
}
.rs-lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 229, 212, 0.6);
  margin-top: 0.2rem;
}

/* Divisória vertical entre estatísticas */
.rs-sep {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* Botões de ação do hero */
.rifa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Imagens dos pets ── */

/* Container das duas imagens lado a lado */
.hero-img-kauan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  position: relative;
  flex-wrap: wrap;
}

/* Blocos individuais de cada imagem */
.img-petala-bloco,
.img-fiel-bloco {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* Imagens dos pets */
.img-kauan,
.img-kauan-fiel {
  width: 260px;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover das imagens (desktop) */
.img-kauan:hover,
.img-kauan-fiel:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Pétala ligeiramente elevada */
.img-petala-bloco {
  transform: translateY(-10px);
}

/* Fiel ligeiramente abaixado */
.img-fiel-bloco {
  transform: translateY(10px);
}

/* ── Badge "Dívida clínica" ── */
.rifa-divida-float {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #a36034;
  color: var(--branco);
  border-radius: var(--r-lg);
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: 0 12px 36px rgba(163, 96, 52, 0.4);
}

.rdf-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}
.rdf-value {
  display: block;
  font-family: var(--fonte-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}
.rdf-sub {
  display: block;
  font-size: 0.65rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   7. SEÇÃO URGÊNCIA
═══════════════════════════════════════════════════════════════ */

/* Fundo escuro com 3 cards informativos */
.rifa-urgencia {
  background: var(--txt-escuro);
  padding-block: 3rem;
}

/* Grid de 3 colunas */
.urg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card base */
.urg-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.5rem 1.6rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t-med);
}
.urg-card:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* Card em destaque (cor terracota) */
.urg-card--destaque {
  background: rgba(163, 96, 52, 0.3);
  border-color: rgba(163, 96, 52, 0.5);
}
.urg-card--destaque:hover {
  background: rgba(163, 96, 52, 0.38);
}

/* Ícone emoji do card */
.urg-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.urg-card h3 {
  font-family: var(--fonte-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ambar-claro);
  margin-bottom: 0.5rem;
}
.urg-card p {
  font-size: 0.87rem;
  color: rgba(245, 229, 212, 0.65);
  line-height: 1.65;
}
.urg-card strong {
  color: var(--ambar-claro);
}

/* ═══════════════════════════════════════════════════════════════
   8. PRÊMIOS
═══════════════════════════════════════════════════════════════ */

/* Grid de 3 colunas de cards de prêmio */
.premios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Card individual de prêmio */
.premio-card {
  background: var(--branco);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--creme-escuro);
  position: relative;
  transition:
    transform var(--t-med),
    box-shadow var(--t-med);
}
.premio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Badge circular com a posição (1º, 2º…) */
.premio-pos {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #a36034;
  color: var(--branco);
  font-family: var(--fonte-display);
  font-size: 0.9rem;
  font-weight: 900;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(163, 96, 52, 0.4);
  z-index: 2;
}

/* Área da imagem do prêmio */
.premio-img-wrap {
  height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--creme-escuro), var(--creme-medio));
  position: relative;
}
.premio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.premio-card:hover .premio-img-wrap img {
  transform: scale(1.05);
}

/* Placeholder quando a imagem ainda não foi adicionada */
.premio-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px dashed var(--creme-medio);
}
.premio-ph span {
  font-size: 1.8rem;
  color: var(--txt-muted);
}
.premio-ph p {
  font-size: 0.72rem;
  color: var(--txt-muted);
  font-weight: 600;
  text-align: center;
  padding-inline: 1rem;
}

/* Corpo de texto do card */
.premio-body {
  padding: 1.25rem 1.4rem;
}

.premio-titulo {
  font-family: var(--fonte-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt-escuro);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.premio-parc {
  font-size: 0.82rem;
  color: var(--txt-muted);
}
.premio-parc strong {
  color: #a36034;
}

/* ═══════════════════════════════════════════════════════════════
   9. GRADE DE NÚMEROS
═══════════════════════════════════════════════════════════════ */

/* Legenda de status dos números */
.numeros-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

/* Item da legenda */
.leg-item {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3em 1.1em;
  border-radius: var(--r-pill);
}

/* Status: disponível */
.leg--disponivel {
  background: var(--creme-escuro);
  color: var(--txt-medio);
  border: 1.5px solid var(--creme-medio);
}

/* Status: reservado */
.leg--reservado {
  background: rgba(232, 162, 58, 0.15);
  color: #9a6410;
  border: 1.5px solid var(--ambar);
}

/* Status: pago */
.leg--pago {
  background: rgba(45, 106, 79, 0.12);
  color: #1e5c3a;
  border: 1.5px solid var(--verde-claro);
}

/* Container branco com borda ao redor da grade */
.numeros-wrap {
  background: var(--branco);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--creme-escuro);
}

/* Grade de botões de número */
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 0.45rem;
}

/* Botão individual de número */
.num-btn {
  position: relative;
  aspect-ratio: 1;
  font-family: var(--fonte-corpo);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--creme-medio);
  background: var(--creme);
  color: var(--txt-medio);
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hover do botão disponível */
.num-btn:hover:not(:disabled) {
  background: #a36034;
  color: var(--branco);
  border-color: #a36034;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(163, 96, 52, 0.3);
}

/* Foco via teclado */
.num-btn:focus-visible {
  outline: 3px solid var(--ambar);
  outline-offset: 2px;
}

/* Número selecionado pelo usuário */
.num-btn--selected {
  background: #a36034;
  color: var(--branco);
  border-color: #a36034;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(163, 96, 52, 0.35);
}

/* Checkmark no canto superior direito do selecionado */
.num-btn--selected::after {
  content: "✓";
  position: absolute;
  font-size: 0.6rem;
  top: 4px;
  right: 4px;
}

/* Número já pago — verde sólido */
.num-btn--pago {
  background: #16a34a;
  color: white;
  border-color: #16a34a;
  cursor: not-allowed;
  opacity: 0.9;
}

/* Checkmark nos números pagos */
.num-btn--pago::after {
  content: "✓";
  position: absolute;
  font-size: 0.7rem;
  top: 4px;
  right: 4px;
}

/* Observação abaixo da grade */
.numeros-obs {
  text-align: center;
  font-size: 0.78rem;
  color: var(--txt-muted);
  margin-top: 1.1rem;
  font-style: italic;
}

/* CTA flutuante sticky (resume seleção + botão WhatsApp) */
.cta-flutuante {
  position: sticky;
  bottom: 1rem;
  margin-top: 1.5rem;
  background: var(--txt-escuro);
  color: var(--branco);
  border-radius: var(--r-xl);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

/* Texto de resumo da seleção */
#cta-texto {
  font-size: 0.85rem;
  color: var(--ambar-claro);
  font-weight: 600;
}

/* Botão de confirmação via WhatsApp */
#cta-btn {
  background: #25d366;
  border: none;
  color: white;
  padding: 0.6em 1.4em;
  border-radius: var(--r-pill);
  font-family: var(--fonte-corpo);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
#cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   10. COMO PARTICIPAR — 3 PASSOS
═══════════════════════════════════════════════════════════════ */

/* Layout flex com setas entre os passos */
.passos-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 3rem;
}

/* Card de cada passo */
.passo-card {
  flex: 1;
  background: var(--branco);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--creme-escuro);
  text-align: center;
  transition:
    transform var(--t-med),
    box-shadow var(--t-med);
}
.passo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Seta entre os passos */
.passo-seta {
  flex-shrink: 0;
  align-self: center;
  font-size: 1.8rem;
  color: var(--creme-medio);
  padding-inline: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}

/* Círculo numerado do passo */
.passo-num {
  width: 52px;
  height: 52px;
  background: #a36034;
  color: var(--branco);
  font-family: var(--fonte-display);
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(163, 96, 52, 0.35);
}

.passo-card h3 {
  font-family: var(--fonte-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--txt-escuro);
  margin-bottom: 0.65rem;
}
.passo-card p {
  font-size: 0.87rem;
  color: var(--txt-medio);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Caixinha da chave PIX dentro do passo 2 */
.pix-mini {
  background: var(--creme);
  border: 1.5px solid var(--creme-medio);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}
.pix-mini-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--txt-muted);
  margin-bottom: 0.25rem;
}
.pix-mini strong {
  font-size: 0.85rem;
  color: #a36034;
  word-break: break-all;
}

/* Bloco de destaque da chave PIX (fundo escuro com botão copiar) */
.pix-destaque {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--txt-escuro);
  border-radius: var(--r-xl);
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
}

.pix-d-icone {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.pix-d-body {
  flex: 1;
  min-width: 180px;
}

.pix-d-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 229, 212, 0.55);
  margin-bottom: 0.3rem;
}
.pix-d-chave {
  font-size: 1.15rem;
  color: var(--ambar-claro);
  word-break: break-all;
}

/* Botão de copiar a chave PIX */
.pix-d-copiar {
  background: #a36034;
  color: var(--branco);
  border: none;
  border-radius: var(--r-pill);
  padding: 0.7em 1.8em;
  font-family: var(--fonte-corpo);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background var(--t-fast),
    transform var(--t-fast);
  flex-shrink: 0;
  white-space: nowrap;
}
.pix-d-copiar:hover {
  background: var(--terracota-escuro);
  transform: translateY(-2px);
}
.pix-d-copiar.copied {
  background: var(--verde-adotado);
}

/* ═══════════════════════════════════════════════════════════════
   11. CTA FINAL
═══════════════════════════════════════════════════════════════ */

/* Seção final com fundo escuro e gradiente */
.rifa-cta-final {
  background: linear-gradient(135deg, var(--txt-escuro) 0%, #4a2c10 100%);
  padding-block: 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Patas decorativas grandes e transparentes */
.rifa-cta-deco {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 3rem;
  pointer-events: none;
}
.rifa-cta-deco span {
  font-size: 10rem;
  opacity: 0.04;
  line-height: 1;
}

/* Conteúdo centralizado acima da decoração */
.rifa-cta-inner {
  position: relative;
  z-index: 1;
}

/* Título da CTA final */
.rifa-cta-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ambar-claro);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.rifa-cta-titulo em {
  font-style: italic;
  font-weight: 300;
  color: var(--creme);
}

/* Parágrafo descritivo */
.rifa-cta-inner > p {
  color: rgba(245, 229, 212, 0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.75;
}

/* Grupo de botões da CTA */
.rifa-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botão WhatsApp (outline sobre fundo escuro) */
.rifa-wpp-btn {
  color: var(--creme) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.rifa-wpp-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--ambar) !important;
  color: var(--ambar-claro) !important;
}

/* ═══════════════════════════════════════════════════════════════
   12. RESPONSIVIDADE
═══════════════════════════════════════════════════════════════ */

/* ── Tablet largo (≤ 1100px) ── */
@media (max-width: 1100px) {
  /* Prêmios: de 3 para 2 colunas */
  .premios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero: reduz o gap */
  .rifa-hero-layout {
    gap: 3rem;
  }
}

/* ── Tablet (≤ 960px) ── */
@media (max-width: 960px) {
  /* Hero: coluna única, texto centralizado */
  .rifa-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  /* Centraliza elementos do hero */
  .rifa-desc {
    margin-inline: auto;
  }
  .rifa-stats-bar {
    margin-inline: auto;
  }
  .rifa-hero-actions {
    justify-content: center;
  }

  /* Urgência: uma coluna */
  .urg-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Passos: empilha verticalmente */
  .passos-layout {
    flex-direction: column;
  }
  .passo-seta {
    transform: rotate(90deg);
    align-self: center;
    padding-block: 0.25rem;
  }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Reduz espaçamentos globais */
  :root {
    --s-xl: 4rem;
    --s-lg: 2.5rem;
  }

  /* Menu mobile: esconde a nav e mostra o toggle */
  .nav-primary {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--creme);
    border-bottom: 2px solid var(--creme-escuro);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav-primary--open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .nav-link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .nav-toggle {
    display: flex;
  }

  /* Prêmios: uma coluna */
  .premios-grid {
    grid-template-columns: 1fr;
  }

  /* Grade de números: botões um pouco menores */
  .numeros-wrap {
    padding: 1.25rem;
  }
  .numeros-grid {
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    gap: 0.35rem;
  }
  .num-btn {
    font-size: 0.72rem;
  }

  /* Título do hero menor */
  .rifa-titulo {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  /* PIX destaque: empilha verticalmente */
  .pix-destaque {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .pix-d-body {
    min-width: 0;
  }
  .pix-d-copiar {
    width: 100%;
  }

  /* Patas decorativas do CTA menores */
  .rifa-cta-deco span {
    font-size: 6rem;
  }

  /* CTA flutuante: empilha verticalmente */
  .cta-flutuante {
    flex-direction: column;
    text-align: center;
  }
  #cta-btn {
    width: 100%;
  }

  /* Imagens dos pets: empilha em coluna */
  .hero-img-kauan {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .img-kauan,
  .img-kauan-fiel {
    width: 90%;
    max-width: 320px;
    height: auto;
  }
  .img-petala-bloco,
  .img-fiel-bloco {
    transform: none;
  }
}

/* ── Mobile pequeno (≤ 480px) ── */
@media (max-width: 480px) {
  /* Grade de números: botões ainda menores */
  .numeros-wrap {
    padding: 0.75rem;
    border-radius: var(--r-lg);
  }
  .numeros-grid {
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 0.28rem;
  }
  .num-btn {
    font-size: 0.65rem;
    border-radius: 4px;
  }

  /* Stats bar do hero: empilha verticalmente */
  .rifa-stats-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
  }
  .rs-sep {
    width: 48px;
    height: 1px;
  }

  /* Hero: menos padding */
  .rifa-hero-layout {
    padding-block: var(--s-lg);
  }

  /* Badge de dívida: posição estática */
  .rifa-divida-float {
    position: static;
    transform: none;
    margin: 1.5rem auto 0;
    width: fit-content;
  }

  /* Imagens dos pets: largura máxima menor */
  .img-kauan,
  .img-kauan-fiel {
    width: 100%;
    max-width: 280px;
  }
}

/* ── Preferência por menos movimento ── */
@media (prefers-reduced-motion: reduce) {
  /* Desativa a animação do ponto pulsante */
  .rifa-pulse {
    animation: none;
  }
}
